import request from './../utils/request'

// 验证手机号
export function docheckphone (params) {
  return request.post('/user/docheckphone', params)
}

// 发送短信验证码
export function dosendmsgcode (params) {
  return request.post('/user/dosendmsgcode', params)
}

// 验证短信验证码
export function docheckcode (params) {
  return request.post('/user/docheckcode', params)
}

// 设置密码完成注册
export function dofinishregister (params) {
  return request.post('/user/dofinishregister', params)
}

// 账户名/手机号/邮箱 + 密码登录
export function dologin (params) {
  return request.post('/user/login', params)
}
